﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Util;

namespace TestProgram
{
    class Program
    {
        static void Main(string[] args)
        {
            var str = HttpUtility.UrlEncode("杨宝宝");

            Console.WriteLine(str);
            Console.Read();
        }
    }
}
